package com.genius.system.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "根据ID查询字典BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class SelectDictDataByIdBO {

    @NotNull(message = "字典编码ID不能为空")
    @Min(value = 1, message = "字典编码ID不能小于1")
    @ApiModelProperty("字典编码ID")
    private Long dictDataId;
}
